Training on a virtual simulator in eye surgery